package com.spark.incoicings.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spark.invoicings.entity.OutboundOrder;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface OutboundOrderMapper extends BaseMapper<OutboundOrder> {

    /**
     * 根据id获取出库单
     * @param id
     * @return
     */
    OutboundOrder selectOutboundOrderById(Integer id);

    /**
     * 查询所有出库单
     * @param map
     * @return
     */
    List<OutboundOrder> selectOutboundOrderAll(Map<String, Object> map);

}
